﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using nplJobs.DB;
using System.Data;

namespace nplJobsDAL.Insert
{
    public class InsertJobSeekerSavedJob
    {
        public static int Insert(Int64 jobID, Guid JobSeekerID)
        {            
            CustomParameterList cpList = new CustomParameterList();
            cpList.Add(new CustomParameter("@JobID", jobID, DbType.Int64));
            cpList.Add(new CustomParameter("@JobSeekerID", JobSeekerID, DbType.Guid));

            object paramval = null;
            return new DBHelper().ExecuteNonQuery(cpList.ParameterNames, cpList.ParameterValues, cpList.ParameterTypes, ref paramval, null, "spInsertJobSeekerSavedJob");

        }
    }
}
